---客户端dev测试接口
--@module
local _svr = class('AppDev', require('framework.cls.baseserver'))
--===================================
--default params
local d = Ding
local svr_dev = import(".service.base")
--===================================

function _svr:ctor()
    _svr.super:ctor()
    d.Logger:dump(cfg, '-->>App cfg is')
    d.Logger:info('\n%s server is runing...', self:name())

    self:init_router()
end

function _svr:init_router()
    -- local orm_usr = d.Orm:get("usr")
    -- local orm_actusr = d.Orm:get("actusr")

    self:get(
        '/token',
        c_func(svr_dev, svr_dev.token)
    )
end

return _svr
